package com.cjw.pojo.dto.person;

import com.cjw.pojo.dto.database.BaseDTO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

/**
 * @createTime:2021.11.17
 * @authoe:cjw
 * @descipe:用户详细信息DTO
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ToString
public class UserDetailDTO extends BaseDTO {
    // 昵称
    private String userName;
    // 真名
    private String name;
    // 性别
    private String sex;
    // 居住地
    private String address;
    // 出生日期
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;
    // 职业
    private String profession;
    // 头像
    private String headImage;
    // 个人介绍
    private String introduction;
    // E-mail
    private String email;
}
